﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KLY.DataModels;
using KLY.Tools;

namespace KLY.ServiceCore
{
    public class GetDistinctInfo : ServiceBase<GetProvinceRequest, GetProvinceResponse>
    {
        public GetDistinctInfo(GetProvinceRequest request)
        {
            this._request = request;
        }

        public override GetProvinceResponse Process()
        {
            base.Url = string.Format("http://{0}/v1/api/102001/?id={1}", BizCommon.Domain, this._request.id);
            base.Method = HttpMethod.GET;
            base.ListHead = null;
            return base.Process();
        }

        
        private GetProvinceRequest _request;
    }
}
